build: Fix vulkan detection
authorPavel Grunt <pgrunt@redhat.com>
Mon, 2 Jan 2017 20:46:22 +0000 (21:46 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 8 Jan 2017 00:15:28 +0000 (19:15 -0500)
Add missing 'test'

https://bugzilla.gnome.org/show_bug.cgi?id=776736

configure.ac

index a521843eae5a0178cfabed7c95d62e4471eaaaa4..b70a89a82258e251882b80de5b4244d68670e128 100644 (file)
@@ -1327,7 +1327,7 @@ if test "x$enable_vulkan" != "xno"; then
           [AC_CHECK_LIB([vulkan], [vkCreateInstance], [], [vulkan_error="Vulkan library not found"])],
           [vulkan_error="Vulkan header not found"])
       if test "x$vulkan_error" != "x"; then
-          if "x$enable_vulkan" = "xyes"; then
+          if test "x$enable_vulkan" = "xyes"; then
               AC_MSG_ERROR($vulkan_error)
           else
               AC_MSG_WARN($vulkan_error)